<div>
    <h1>
        {{title}}
    </h1>
    <button (click)="onLogin()">登录</button>
    <button (click)="onTest()">看看登录没有</button>
</div>